package VUTHANHPHUC_HOMEWORK_OOP_LV2;

public class ParallelogramModels {
	public double Area(Parallelogram objC) {
		return objC.getLongside() * objC.getShortside() * Math.sin(objC.getGoc());
	}

	public double Perimeter(Parallelogram objC) {
		return (objC.getLongside() + objC.getShortside()) * 2;
	}
}
